// Copyright (c) 2009 Hypirinha contributers
// This program is made available under the terms of the MIT License.
package org.hypirinha.html.codegen;

import javax.xml.xpath.XPath;
import javax.xml.xpath.XPathFactory;

public class XPathUtil {
    public static XPath createXPath() {
        XPath xPath = XPathFactory.newInstance().newXPath();
        xPath.setNamespaceContext(new XmlSchemaNamespaceContext());
        return xPath;
    }
}
